package com.ebocy.hammer.world.message;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractC2SMessage;

public class C2SPlayerLogin extends AbstractC2SMessage {
	private String platformUserId;
	private String sessionKey;

	public String getPlatformUserId() {
		return platformUserId;
	}

	public String getSessionKey() {
		return sessionKey;
	}

	@Override
	public short getMessageCode() {
		return GameMessageCode.LOGIN;
	}

	@Override
	public void readMessage() {
		platformUserId = readString();
		sessionKey = readString();
	}
}
